package com.example.oauth.authserver.repository;

import com.example.oauth.authserver.repository.entity.Subject;
import org.springframework.data.jpa.repository.JpaRepository;

/**
 * <p>
 *
 * </p>
 *
 * @author chang.zhou
 * @version 1$
 * @date Created in 2022/3/5 23:33
 */
public interface SubjectRepository extends JpaRepository<Subject,Long> {
    Subject findSubjectByLoginName(String username);
}
